#include<stdio.h>
#include<string.h>
#include<strlib.h>
int compareop(char op1,char op2)
{
	int priority1,priority2;
	if(op1=='*'||op1=='/')
	{
		priority1=2;
	}
	else if(op1=='+'||op1=='-')
	{
		priority1=1;
	}
	else if(op2=='*'||op2=='/')
	{
		priority2=2;
	}
	else if(op2=='+'||op2=='-')
	{
		priority2=1;
	}
	return priority1-priority2;
}
int calculator(int num1,int num2,char op)
{
	switch(op)
	{
		case'+':
			return num1+num2;
		case'-':
			return num1-num2;
		case'*':
			return num1*num2;
		case'/':
			return num1/num2;
		default:
			return 0;
	}
}
int calculateresult(char s[])
{
	int len=strlen(s);
	char opop[100];
	int k=0;
	for(int i=0;i<len;i++)
	{
		if(s[i]<48||s[i]>57)
		{
			opop[k]=s[i];
			k++;
		}
	}
}
